import VueRouter from "vue-router";
export default new VueRouter({
  // mode: "history",//该模式会在服务器上刷新变404,还需后端设置
  base: process.env.BASE_URL,
  routes: [
    {
      path: "/",
      name: "home",
      component: () =>
        import(/* webpackChunkName: "home" */ "./views/home/home.vue")
    },
    {
      path: "/audit",
      name: "audit",
      component: () =>
        import(/* webpackChunkName: "about" */ "./views/audit/audit.vue")
    },
    {
      path: "/charteredBus",
      name: "charteredBus",
      component: () =>
        import(/* webpackChunkName: "about" */ "./views/chartered-bus/chartered-bus")
    }
  ]
});
